package com.kitwee.serialport.decoder.mitsubishi;

import com.kitwee.serialport.decoder.InstructionDecoder;

/**
 * 三菱FX系统解码器
 * 
 * @author szhyde
 */
public class FX3UToOutputDecoder extends InstructionDecoder
{

    @Override
    public synchronized Object decode(byte[] source)
    {
        byte[] tempByte = new byte[2];
        tempByte[0] = source[4];
        tempByte[1] = source[3];
        return byteArray2int(tempByte);
    }

}
